/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package assisisw.smartcal.entitysubsystem.exceptions.user;

/**
 *
 * @author Francesco
 */
public class UserNotRegisteredException extends Exception 
{

    // Instance Fields
    
    /***/
    private String eMail ;
    
    // Instane Methods
    
    /**
     * @param eMail 
     * @throws IllegalArgumentException
     */
    public UserNotRegisteredException ( String eMail ) 
    {
        super () ;
        if ( eMail != null )
            this.eMail = eMail ;
        else
            throw new IllegalArgumentException () ;
    }
    
    public String getEMail () 
    {
        return eMail ;
    }
    
}
